package org.tczs93.springsecurity.config.exception;


/**
 * 自定义异常类
 * @author tao.li
 *
 */
public class CustomerException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	private Integer code;

	private String message;

	
	public CustomerException(String message) {
		
		this.code = 999;
		
		this.message = message;
		
	}
	
	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
}
